package com.danbay.cloud.lock.device.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author yangyanchen on 2018/1/11
 *         Copyright © 2016 －2017 旦倍科技
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("operation_detail")
public class OperationDetail {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long batch_id;

    private String home_name;

    private String deviceModel;

    private String operation_result;

    private String err_reason;

    private String device_id;

    private String device_location;

    private String operation_value;

    private Date create_time;

    private Date update_time;

    private boolean delete_state;
}
